@import url('@/globalStyles/variable.less');
// width: calc(100% - 200px);
.pane_item{
  background: white;
  margin-bottom: 12px;
  border-radius: 4px;
  .item_header{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    // justify-content: space-between;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s,visibility 0s;

    .header_text {
      flex: auto;
      // padding: 12px 16px;
      padding-left: 16px;
      color: rgba(0, 0, 0, 0.88);
      line-height: 45px;
      .text_collapse {
       transition: all .2s ease-in-out;
       margin-right: 5px;
       &.collapse_rotate{
        transform: rotate(90deg);
       }
      }
      .text_text{
        font-weight: bold;
      }
    }
    .header_operation{
      >span{
        display: inline-block;
        width: 45px;
        height: 45px;
        background: linear-gradient(223deg, #FFBB95 0%, #FCFCFC 100%, #FFFFFF 100%);
        border-radius: 4px;
        opacity: 0.7;
        color: #9D9EA0;
        font-size: 16px;
        text-align: center;
        line-height: 45px;
      }
    }
  }
  .item_content{
    max-height: 750px;
    overflow: hidden;
    transition: max-height .2s ease-in-out;
    &.content_hidden {
      max-height: 0;
    }
    // 题目
    .content_examination_name{
      margin-top: 12px;
    }
    //选项
    .content_examination_option{
      :global .ant-form-item {
        margin-bottom: 0;
        &:first-child{
          .ant-space-compact{
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            border: 1px solid #F2F2F2;
            border-bottom: none;
          }
        }
        &:last-child{
          .ant-space-compact{
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            border-top: none;
            padding-bottom: 24px;
          }
        }
      }

      // input
      :global .ant-space-compact {
        background: #F9F9F9;
        // 
        padding: 24px 24px 0 24px;
        .ant-input-compact-item{
          border-top-right-radius: 4px;
          border-bottom-right-radius: 4px;
          width: calc(100% - 155px);
        }
      }
      // icon
      .option_icon {
        font-size: 16px;
        margin-left: 12px;
        color: #666666;
        &.icon_add {
          font-size: 18px;
        }
        &:hover{
          color: @primaryColor;
        }
      }

    }
  }
}